<?php
class nutritionTestFunctional extends sfTestFunctional
{
  public function signin($username, $userpwd)
  {
    $this->click('input[type=submit]',array('signin' => array('username'=>$username,'password'=>$userpwd)));
     return $this;
  }    
  public function loadData()
  {
    Doctrine_Core::loadData(sfConfig::get('sf_test_dir').'/fixtures');
 
    return $this;
  }
  public function signout()
  {
      $this->get('/guard/logout');
      return $this;
  }    
}
